home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / w3euti22.zip / UTI.DOC < prev    next >
Text File  |  1992-08-06  |  20KB  |  520 lines

  1. ┌───────────────────────────────────────────────┐
  2. │ WC3 Enhanced UTIs        v2.2        8-06-92  │
  3. └───────────────────────────────────────────────┘
  4.  
  5.  
  6. What They Do
  7. ------------
  8.  
  9. UTIs (Universal Text Interface) are a group of programs that allow
  10. the PC Relay and MegaMail door programs to interface with a BBS. 
  11. There are many different UTI programs available and each works with
  12. a specific BBS program.
  13.  
  14. UTI programs directly access the BBS database files and perform
  15. functions such as message imports and exports, listing available
  16. conferences and updating last-read pointers.  Thanks to the UTI
  17. standard interface, PC Relay can be used with many different BBS
  18. programs.
  19.  
  20. These UTIs are designed for use with WildCat versions 3.0x to 3.5x. 
  21. They will automatically detect which version you are using and
  22. build the message databases accordingly.
  23.  
  24.  
  25. Features
  26. --------
  27.  
  28. 1.   The UTI programs will work properly in a multi-node
  29.      environment.  These two features have been added to achieve
  30.      multi-node compatibility:
  31.  
  32.      A.   All imported messages are marked internally with a UTI
  33.           code.  This code identifies the message as coming from
  34.           the UTIs.  In multi-network situations, the code also
  35.           identifies which network the message came from.  Imported
  36.           messages will not be exported to the same network.
  37.  
  38.      B.   The UTIs keep their own high message numbers.  If a
  39.           message is entered online and the PC Relay software
  40.           misses it, the UTIs will detect it and adjust the next
  41.           export accordingly.  PC Relay and communication errors
  42.           are taken into account and will not confuse the UTI's
  43.           high message count.
  44.  
  45. 2.   Imported text files "<<*.IMP" are exported along with outgoing
  46.      messages just like regular text.  Each time an *.IMP file is
  47.      exported, a message will be logged to the UTI.LOG file.
  48.  
  49. 3.   Input and output files are processed as binary files instead
  50.      of text files.  Text files are limited in that an End-of-File
  51.      mark (ASCII 26) within a message would cause an import to end
  52.      prematurely, sometimes causing errors and often losing
  53.      messages.  When an end-of-file mark is detected in the middle
  54.      of a packet, a message will be logged to the UTI.LOG file.
  55. 4.   Extra spaces at the end of a line are skipped during imports
  56.      and exports.  The blank lines surrounding the PC Relay
  57.      taglines often have 30-40 extraneous spaces.  By eliminating
  58.      these wasted characters, your MSGxxx.DAT files will be
  59.      approximately 5% smaller.
  60.  
  61. 5.   Using a combination of file buffers, smart file locking and
  62.      batch processing, the Enhanced WC3 UTIs are approximately 11-
  63.      200% faster than earlier WildCat UTIs.  See the SUMMARY.UTI
  64.      file for speed comparisons.
  65.  
  66.  
  67. Other Information
  68. -----------------
  69.  
  70. 1.   "Soft errors" such as corrupted messages and unexpected data
  71.      will be logged to an error file and the message will be
  72.      skipped.  Import or export will continue with the next good
  73.      message, if any.
  74.  
  75. 2.   "Hard errors" such as missing files, full disks and too many
  76.      open files will be logged to an error file and cause the UTI
  77.      to stop.  An error code will be passed to the calling program
  78.      (PC Relay, MegaMail) which normally causes the calling program
  79.      to stop.
  80.  
  81. 3.   The mail waiting flag is set in both real name and alias
  82.      conferences.
  83.  
  84. 4.   Messages are limited to 150 lines of up to 79 characters per
  85.      line.  Lower limits may be defined using the MAKEWILD program;
  86.      If a message exceeds the conference's line limit it will be
  87.      split into two or more parts.
  88.  
  89.      Excessive taglines sometimes make a message exceed its line
  90.      limit.  To avoid unnecessary message splitting, a conference's
  91.      line limit may be exceeded by up to 10 lines if there is ample
  92.      space in the message record.  These additional lines are
  93.      supported by WildCat and will not cause any problems.
  94.  
  95. 5.   During an import, the UTIs will abide by the conference's
  96.      maximum message limit.  If the number of messages exceeds that
  97.      limit, the UTIs will delete excessive messages starting with
  98.      the lowest message number until the message limit is reached. 
  99.      Messages marked with the "No Delete" flag will not be deleted.
  100.  
  101. 6.   Pressing CTRL-C will signal the UTIs to stop processing at the
  102.      next safe opportunity.  The UTIs will stop with an errorlevel,
  103.      signalling to the calling program that it stopped abnormally.
  104.  
  105.  
  106. Setup
  107. -----
  108.  
  109. Install the parent program (PC Relay or the MegaMail Door)
  110. according to that program's instructions.  The UTI programs can be
  111. placed with the PC Relay program files, or in any directory that is
  112. listed in the path.
  113.  
  114.  
  115. DOS Environment Variables
  116. -------------------------
  117.  
  118. The UTIs can use three optional environment variables.  DOS
  119. environment variables are defined using the SET command.
  120.  
  121. WCHOME :  This variable is optional and contains the path to the
  122.           main WildCat directory.  An example is:
  123.  
  124.                SET WCHOME=C:\WC30
  125.  
  126.           If this variable is not defined, the UTIs will search the
  127.           path until the main WildCat directory is found.  If you
  128.           use the WCHOME environment variable, the UTIs will take
  129.           less time since they won't have to search for the WildCat
  130.           directory.
  131.  
  132. WCNODEID: If you are running a multi-node BBS and do not have the
  133.           MAKEWILD autonode option enabled, this variable must be
  134.           set to a unique number between 1 and 250.  See the
  135.           section on multi-node BBSs for more information.
  136.  
  137. UTINET :  With the advent of PC Relay 4.11, the UTINET variable
  138.           will no longer function as it was designed.  PCR 4.11
  139.           will not export messages with a PCR tagline, even if a
  140.           conference needs to be sent to two or more networks. 
  141.           This feature is being retained for future use.
  142.  
  143.           This variable is only important if you cross two networks
  144.           together.  If two or more PC Relay networks access the
  145.           same message conference, you need to set this variable to
  146.           a unique character for each conference.  For example:
  147.  
  148.           SET UTINET=A
  149.           SET UTINET=B
  150.  
  151.           Only one character is required, and only the first
  152.           character will be used if there is more than one.
  153.  
  154.  
  155. Multi-Node BBSs
  156. ---------------
  157.  
  158. If you are running a single-line version of WildCat, the UTIs
  159. cannot be run while the BBS is up, or when any other utility is
  160. accessing the message databases.
  161.  
  162. In order to use the UTIs while the BBS is online, you must be
  163. running a multi-line WildCat version and have either DOS share or
  164. Novell defined in the Makewild program.  If the MAKEWILD autonode
  165. option is enabled, the UTIs will determine the proper node ID to
  166. use.  If you are not using the autonode feature, the environment
  167. variable WCNODEID must be set to a valid number between 1 and 250.
  168.  
  169. Use the following command:
  170.  
  171.      SET WCNODEID=3
  172.  
  173. using 3 or whichever node ID you wish to use.  This node ID must
  174. not be duplicated.  No other BBS node or program using this node ID
  175. may be running while the UTIs are accessing the message databases.
  176.  
  177.  
  178. Renumbering the Databases
  179. -------------------------
  180.  
  181. You must be careful when renumbering the databases.  Before you
  182. renumber, make sure that all messages have been exported.  The best
  183. method is to:
  184.  
  185.      1.  Take all BBS nodes down.
  186.      2.  Run the PC Relay export program.
  187.  
  188.      You may renumber your conferences now, or wait until you
  189.      import new messages.
  190.  
  191. Since the UTIs keep their own high message numbers, you must run
  192. the UTIRESET program in addition to the PC Relay RESET program. 
  193. The UTIRESET program must be run in the directory where you run
  194. your imports and exports.
  195.  
  196. If you use the UTINET environment variable, UTIRESET must be run
  197. for each UTINET network.
  198.  
  199.  
  200. Error Log File
  201. --------------
  202.  
  203. The UTIs will record error messages to the file UTI.LOG in the
  204. current directory.  Other events will also be logged, including:
  205.  
  206.      1.   Messages split into two or more parts.
  207.      2.   Messages skipped due to errors.
  208.      3.   *.IMP text files exported as part of a message.
  209.      4.   New, non-exported messages detected during an import.
  210.      5.   End-of-file marks detected in the middle of an import
  211.           packet.  This is only for informational purposes; EOF
  212.           marks have no effect on the enhanced UTIs.
  213.  
  214.  
  215. Program Descriptions
  216. --------------------
  217. The input and output files are standard text files and follow the
  218. UTI v2.1 specifications.  The UTI format is designed and controlled
  219. by Kip Compton; requests for additional UTI format information
  220. should be addressed to him.
  221.  
  222.  
  223. UTIEXPRT
  224.  
  225. Exports messages from the specified conference starting with the
  226. message number in parameter #2.  At this time, WildCat does not
  227. have a no-echo option, so all messages will be exported.
  228.  
  229. The exception is when the /NETWORK parameter is specified.  When in
  230. Network mode, messages that were imported from the same network ID
  231. will not be exported.  The UTINET environment variable can be used
  232. to change network Ids, or the default ID "0" will be used.
  233.  
  234. Network mode also enables the multi-node features.  UTIEXPRT keeps
  235. track of its own high message numbers in the UTINETx.DAT file,
  236. where "x" is the UTINET environment variable.  These separate high
  237. message numbers ensure that all appropriate messages will be
  238. exported to the network.
  239.  
  240.      Parameter 1 -  Conference number.
  241.      Parameter 2 -  First message number to export.
  242.      Parameter 3 -  Full path and file name of the output file.
  243.      Parameter 4 -  /NETWORK (optional)
  244.  
  245.  
  246. UTIIMPRT
  247.  
  248. Imports new messages from the input file into the specified
  249. conference.  In Network mode, it internally marks each message with
  250. a network code which will prevent the message from being exported
  251. to the same network.
  252.  
  253. PC Relay pre-assigns each message a number before calling the
  254. UTIIMPRT program.  Unless PC Relay is told otherwise, it assumes
  255. that these message numbers will stay the same when imported into
  256. the message conference.  If the first message number in the input
  257. file is different than the message number used on the BBS, then the
  258. difference is written to the adjustment file (parameter 3).
  259.  
  260. PC Relay uses the adjustment file to keep its reference numbers
  261. accurate, however the numbers may not be accurate when:
  262.  
  263.      1.   New messages are added to the BBS while an import is in
  264.           progress.
  265.      2.   Invalid or corrupted messages are skipped.
  266.      3.   Long messages are split into two or more parts.
  267.  
  268.  
  269. The UTIs can tell PC Relay to adjust all the reference numbers in
  270. an import, but there is no way to change just a few of them.
  271. WildCat limits messages to a maximum of 12000 bytes.  The internal
  272. WC editors are more restrictive:  When used to create a message,
  273. the limit is 150 lines of 72 characters each, however, the editors
  274. will allow you to safely edit an existing message of up to 164
  275. lines of 72 characters each.  This allows full sized messages (150
  276. lines from the source BBS) to be imported even after many taglines
  277. have been added. 
  278.  
  279.      Parameter 1 -  Conference number.
  280.      Parameter 2 -  Full path and file name of the input file.
  281.      Parameter 3 -  Full path and file name of the message number
  282.                     adjustment file.  (Optional)
  283.      Parameter 3 -  /NETWORK  (Optional)
  284.           or   4
  285.  
  286.  
  287. UTIHIGH
  288.  
  289. Reads the conference status record and writes the high message
  290. number to the output file.
  291.  
  292.      Parameter 1 -  Conference number.
  293.      Parameter 2 -  Full path and file name of the output file.
  294.  
  295.  
  296. UTILIST
  297.  
  298. Creates a list of available conferences with their descriptions. 
  299. This list is used in the PC Relay CONFIG program and in the
  300. MegaMail door.
  301.  
  302.      Parameter 1 -  Full path and file name of the output file.
  303.  
  304.  
  305. UTIVER
  306.  
  307. Writes the UTI version number to the output file.  A second line
  308. identifies the UTI author and/or program name.
  309.  
  310.      Parameter 1 -  Full path and file name of the output file.
  311.  
  312.  
  313. UTILSTRD  (MegaMail only)
  314.  
  315. Depending on the first parameter, this program will either READ the
  316. specified user's last read message numbers or WRITE (update) the
  317. last read message numbers.  Output from this program will be
  318. matched against output from UTILIST to determine which conferences
  319. the user may access and his/her last read pointer.
  320.  
  321.      Parameter 1 -  READ or WRITE
  322.      Parameter 2 -  Full path and file name of the input or output
  323.                     file.
  324.      Parameter 3 -  The user's first, middle, last name, etc.
  325.  
  326. UTIDOOR   (MegaMail only)
  327.  
  328. Creates a small door information file for use by the MegaMail door. 
  329. This program reads the DOOR.SYS file and creates the output file,
  330. which should be UTIDOOR.TXT.
  331.  
  332.      Parameter 1 -  Full path and file name of the output file.
  333.  
  334.  
  335. UTIRFLAG  (MegaMail only)
  336.  
  337. Clears a user's mail-waiting flag for a specified range of
  338. messages.  After a user downloads messages using the MegaMail door,
  339. this program is called to clear the mail-waiting flags.
  340.  
  341.      Parameter 1 -  Conference number.
  342.      Parameter 2 -  Starting message number.
  343.      Parameter 3 -  Ending message number.
  344.      Parameter 4 -  The user's first, middle, last name, etc.
  345.  
  346.  
  347. UTIRESET
  348.  
  349. This program is unique to the Enhanced UTIs; it resets the high
  350. message numbers in the UTINETx.DAT file.  This should be run when
  351. the message conferences are renumbered and whenever the PC Relay
  352. "RESET" program is run.
  353.  
  354.  
  355. Registration
  356. ------------
  357.  
  358. The Enhanced WC3 UTI programs are distributed as shareware. 
  359. Shareware software allows you to try before you buy, thus you never
  360. need to pay for a shareware program that does not meet your needs.
  361.  
  362. You may use these UTIs for 30 days at no charge, allowing you a
  363. chance to see if they meet your needs.  If you keep using them
  364. after 30 days, you must register the software by sending in the
  365. registration form and paying the registration fee of $20 (US). 
  366. Registered DupMsg users are entitled to a $5 discount.
  367.  
  368. Registration entitles the purchaser to use the UTIs on one BBS
  369. system.  A BBS system is defined as either a single computer
  370. system, or a network system where multiple computers are connected
  371. by direct cable to the same network server.
  372.  
  373. Even after you register these UTIs, your satisfaction is
  374. guaranteed.  If within 30 days after registering you decide that
  375. you no longer wish to use the programs, simply write a letter to
  376. the author requesting a refund and your registration fee will be
  377. refunded.  Only the registration fee will be refunded, not the cost
  378. of diskettes that may have been ordered.
  379.  
  380. Support
  381. -------
  382.  
  383. The author can be reached via the WildNet and RelayNet mail
  384. networks, as well as the MSI WildCat conference.  Please address
  385. messages to Jim Metzler.
  386.  
  387. Registration fees and requests for additional information should be
  388. addressed to:
  389.  
  390.      Jim Metzler
  391.      WPI Box 188
  392.      100 Institute Road
  393.      Worcester, MA 01609
  394.  
  395.      Voice: (508) 799-7540
  396.      BBS:   (508) 754-6512
  397.  
  398.  
  399. Warranty Disclosure
  400. -------------------
  401.  
  402. Normally, software distributed through bulletin boards systems or
  403. shared from one user to another does not carry a warranty, mainly
  404. because the author does not have control over the product and the
  405. program can be modified either intentionally or accidentally
  406. without the author's knowledge.
  407.  
  408. Recognizing this, these UTI programs carry either no warranty or a
  409. limited warranty depending on the distribution method.
  410.  
  411. LIMITED WARRANTY:
  412.  
  413.      This applies only when the program is received directly from
  414.      the author on diskette, or when it is received in the original
  415.      ARJ archive, complete with a valid Security Envelope.  The ARJ
  416.      Security Envelope must read "ARJ archive created by James W.
  417.      Metzler R#0301".  The user must keep the diskette or original
  418.      ARJ archive as proof of this warranty.
  419.  
  420.    - What is covered:  The UTIs program will perform substantially
  421.      as described in this document.  In addition, while the program
  422.      may contain minor bugs or errors, it is warranted to be free
  423.      of major defects for a period of six months.  Diskettes
  424.      received from the author are guaranteed to be free or defects
  425.      for a period of six months from date of receipt.
  426.  
  427.    - What is not covered:  The author will not be liable for
  428.      incidental and/or consequential damages, including injury to
  429.      property, interruption of service, loss of business and/or
  430.      anticipated profits, or other consequential damages that may
  431.      result from use, malfunction or failure of the programs, or
  432.      from errors or omissions in the documentation.  Some states do
  433.      not allow the exclusion or limitation of incidental or
  434.      consequential damages, so the above limitation may not apply
  435.      to you.
  436.  
  437.      Any attempt to modify the UTI programs will void this warranty
  438.      in its entirety.
  439.  
  440.    - If there is a problem:  Within 60 days of notification that a
  441.      major defect exists, the author, at his discretion, will
  442.      either fix the program and forward the replacement at no cost
  443.      to the registered user, or will refund the registration fee.
  444.  
  445.      Defective diskettes will be replaced within 60 days at no cost
  446.      to the purchaser.
  447.  
  448.    - How to get service:  Send a written letter to the author
  449.      detailing the type of problem and symptoms experienced. 
  450.      Include your name, address, voice phone number and
  451.      registration number and any additional information that you
  452.      believe may be useful, such as any TSRs and disk cache
  453.      programs in use.
  454.  
  455.      The author may contact you by voice or written letter for more
  456.      information to help in tracking down the problem.
  457.  
  458.  
  459. NO WARRANTY:
  460.  
  461.      If you did not receive the UTI programs directly from the
  462.      author, or in its original ARJ archive with a genuine Security
  463.      Envelope (see above), then there is a possibility that the
  464.      programs and/or documentation have been modified, or that the
  465.      program is not the author's work.  The author makes no
  466.      warranty of any kind, express or implied, including any
  467.      warranties of fitness and/or merchantability if the program
  468.      was received from other sources.
  469.  
  470.      The author will not be liable for any damages, whether direct,
  471.      indirect, special or consequential arising from a failure of
  472.      this program to operate in the manner desired by the user. 
  473.      The author will not be liable for any damage to data or
  474.      property which may be caused directly or indirectly by use of
  475.      the program.
  476.  
  477. When trying new software, always backup any and all important files
  478. on your system.
  479.  
  480.  
  481. Special Thanks
  482. --------------
  483.  
  484. Special thanks to Peter Anderson, Ralph Maya, Ryan Cramer, Bob
  485. Allman, Bill Anton and Mike Callaghan for their help ßeta testing
  486. these programs.  Their assistance has been invaluable in the
  487. development of these programs.
  488.  
  489.  
  490. Copyright
  491. ---------
  492.  
  493. These UTI programs are:
  494. Copyright (c) 1992, James W. Metzler, All Rights Reserved.
  495.  
  496.  
  497. About the Author
  498. ----------------
  499.  
  500. Jim Metzler grew up on the IBM side of Silicon Valley, within
  501. blocks of the Santa Teresa IBM plant.  Jim is an Eagle Scout and
  502. Vigil member of the Order of the Arrow; one of his first computer
  503. projects was computerizing the membership records for the Santa
  504. Clara County OA Lodge (Miwok 439) in the early 1980's.
  505.  
  506. After attending college part-time, Jim joined the Navy as a Data
  507. Processing Technician and spent 3 years in and around Japan,
  508. stationed onboard the USS Blue Ridge (LCC-19), Seventh Fleet
  509. Flagship.  Jim operated, then later managed two Wang mini-computers
  510. that served Seventh Fleet staff and was responsible for the Ship's
  511. ADP Security program.  For the last two years, Jim served at the
  512. White House Communications Agency in Washington, DC, providing
  513. computer support to the President and his staff both in town and on
  514. the road.
  515.  
  516. Just recently out of the Navy, Jim is continuing his college
  517. studies at Worcester Polytechnic Institute in Worcester, MA.
  518.  
  519. -----------------------------------------------------------------
  520.